package jpb.util;

/**
 * Created by haol on 2017/6/3.
 */
public class GetMemory {


        public String MEMORY(String os){
                String memory = "";
                if (os.equals("linux")){
                        memory = "/home/file/phone/excel/up/";
                }else {
                        memory = "D:\\TelPhone\\";
                }
                return memory;
        }

        public static String MEMORY() {
                String os = System.getProperty("os.name");
                if (os.indexOf("indows") < 0) {
                        return "/home/file/phone/excel/up/";
                } else {
                        return "D:\\TelPhone\\";
                }
        }

}
